
import Foundation
import UIKit

let JX_SCREEN_WIDTH = UIScreen.main.bounds.size.width
let JX_SCREEN_HEIGHT = UIScreen.main.bounds.size.height
let JX_SCREEN_BOUNDS = UIScreen.main.bounds

let hasNotch = ((JX_SCREEN_HEIGHT == 812.0 ) || (JX_SCREEN_HEIGHT  == 896.0)) ? true : false
let JX_StatusBarHeight = hasNotch ? 44.0 : 20.0
let JX_NavBarHeight = hasNotch ? 88.0 : 64.0
let JX_TabbarHeight = hasNotch ? 49.0 + 34.0 : 49.0
let JX_TabbarMargin = hasNotch ? 34.0 : 0

let scaleCoefficient4_7_INCH = 375/JX_SCREEN_WIDTH

